package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户收藏实例类
 *
 * @author zhangyaowen
 * @date 2021/11/17 15:51
 */
@ApiModel
@TableName("sub_use_collect")
@Data
@EqualsAndHashCode(callSuper = true)
public class UseCollect extends BaseEntity {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 收藏标题
     */
    @ApiModelProperty("标题")
    @TableField("collect_title")
    private String collectTitle;

    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 用户账号
     */
    @TableField("user_id")
    private Long userID;

    /**
     * 收藏类型
     */
    @ApiModelProperty("收藏类型")
    @TableField("collect_type")
    private String collectType;

    /**
     * 收藏时间
     */
    @ApiModelProperty("收藏时间")
    @TableField("collect_time")
    private String collectTime;

    /**
     * 跳转路由
     */
    @ApiModelProperty("跳转路由")
    @TableField("collect_url")
    private String collectUrl;

    /**
     * 收藏组
     */
    @TableField("collect_zu")
    private String collectZu;

}